import request from '@/utils/requset'
export const regAPI = data => {
  return request.post('/api/reg', data)
}
export const loginAPI = data => {
  return request.post('/api/login', data)
}
export const getUserAPI = () => request.get('/my/userinfo')
